<?php defined('BASEPATH') OR exit('No direct script access allowed');

/**
 * Updateapps
 *
 * This is an M_clickverificationlink of a few basic verificationlink interaction methods you could use
 * all done with a hardcoded array.
 *
 * @package		CodeIgniter
 * @subpackage	Rest Server
 * @category	Controller
 * @author		Phil Sturgeon
 
*/

// This can be removed if you use __autoload() in config.php OR use Modular Extensions
require APPPATH.'/libraries/REST_Controller.php';

class Updateappsid extends REST_Controller
{
	function __construct()
	{
		parent::__construct();
		$this->load->model('mdl_updateappsid');
		
	}
	
	function update_appsid_post(){
		      

		//post
		
		$username=$this->post('username'); 
		$data['appsidonapps']=$this->post('appsidonapps'); 
         $query = $this->mdl_updateappsid->updateappsid($username,$data );
		
	
		
		
		$updateappsid[] = array(
				'resp' => 'updateappsid' ,
				'updateappsidstatus' => 'false',
				'debug' => 'appsid sudah sinkron dg database',
				'appsidonapps' => $data['appsidonapps'] 
				
				);
		
	
		
			 $this->response($updateappsid, 200);	
		
	
	}
   
    

}